package MyJava;

import javax.json.bind.annotation.JsonbProperty;
@SuppressWarnings("unused")
public class DataDTO2 {
    public DataDTO2()
    {

    }
    public DataDTO2(String e,String m,String o,String a)
    {
        this.error=e;
        this.message=m;
        this.openid=o;
        this.access_token=a;
    }

    @JsonbProperty("erroe")
    private String error;

    @JsonbProperty("message")
    private String message;

    @JsonbProperty("openid")
    private String openid;

    @JsonbProperty("access_token")
    private String access_token;

    public String getError()
    {
        return error;
    }
    public void setError(String error) {
        this.error = error;
    }

    public String getMessage(){
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }

    public String getOpenid() {
        return openid;
    }
    public void setOpenid(String openid) {
        this.openid=openid;
    }

    public String getAccess_token()
    {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token=access_token;
    }
}

